import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import axios from  'axios';

//每次的http请求前都会自动添加一个/api地址，省去了自己添加的麻烦，如：/api/student?cmd=list,现在为/student?cmd=list

// Vue.prototype.$axios=axios
// axios.defaults.baseURL="/api";

Vue.config.productionTip = false
Vue.use(ElementUI);



new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
